package com.gph.saviorframework.oa.service.impl.sysconfig;

import com.gph.saviorframework.oa.dao.sysconfig.SYSConfigDao;
import com.gph.saviorframework.oa.model.SYSConfig;
import com.gph.saviorframework.oa.service.sysconfig.SYSConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Created by guopeihui on 2016/12/6.
 */
public class SYSConfigServiceImpl implements SYSConfigService {

    @Autowired
    private SYSConfigDao dao;

    @Transactional
    @Override
    public void save(SYSConfig sysConfig) {
        dao.save(sysConfig);
    }

    @Transactional(readOnly = true)
    @Override
    public SYSConfig get(String id) {
        return dao.get(id);
    }

    @Override
    public void update(SYSConfig sysConfig) {

    }

    @Override
    public void update(Set<SYSConfig> set) {

    }

    @Override
    public List<Map<String, Object>> find(String s, String s1, Map<String, Object> map) {
        return null;
    }

    @Override
    public Map<String, Object> find(int i, int i1, String s, String s1, Map<String, Object> map, Object... objects) {
        return null;
    }

    @Override
    public long count(Map<String, Object> map) {
        return 0;
    }

    @Override
    public void delete(String s) {

    }

    @Override
    public void deleteByIds(String[] strings) {

    }

    @Override
    public Map<String, String> getFields() {
        return null;
    }

    @Override
    public Map<String, Object> findById(String s) {
        return null;
    }

    @Override
    public String genWhereClause(Map<String, Object> map, Object... objects) {
        return null;
    }
}
